/* Basic  ---------------------------------------- */

body {
	background: white;
	font-family: Arial, "dejavu sans" !important;
	font-size: 12px;
	color: #646464;
}

#wrapper {
	text-align: left;
	width: 930px;
	margin: 0 auto;
}

/* Logo  ---------------------------------------- */

h1 {
	margin: 15px 0 10px 5px;
	width: 322px;
	height: 47px;
	background: url(images/adrenaline.png) no-repeat left top;
}

h1 a {
	display: block;
	width: 322px;
	height: 47px;
}

h1 span { display: none; }

/* Main Navigation ---------------------------------------- */

#mainNav {
	width: 918px;
	height: 37px;
	padding: 6px;
	margin: 0 0 10px 0;
	background: url(images/top-menu-bg.gif) no-repeat left top;
	/* We used a background image making the thick border and the thin one to keep the html structure simple */
}

#mainNav li {
	float: left;
	height: 37px;
	border-right: 1px solid #ddd;
}

#mainNav li a {
	display: block;
	float: left;
	height: 37px;
	font-weight: bold;
	line-height: 37px;
	text-decoration: none;
	color: #646464;
	padding: 0 20px;
}

#mainNav li a img.icon {
	padding-right: 6px;
}

#mainNav li.logout {
	float: right;
	border-left: 1px solid #ddd;
	border-right: none;
}

#mainNav li a:hover { background: #fdfcf6; }

#mainNav li a.active, #mainNav li a.active {
	background: #f0f0f0 url(images/top-menu-item-bg.gif) repeat-x left top;
	color: #454545;
}

/* Container ---------------------------------------- */

#containerHolder {
	background: #eee;
	padding: 5px;
}


#container {
	background: #fff url(images/content.gif) repeat-y left top;
	border: 1px solid #ddd;
	width: 918px;
}

/* Sidebar ---------------------------------------- */

#sidebar {
	width: 179px;
	float: left;
}

#sidebar .sideNav { width: 179px; }

#sidebar .sideNav li { border-bottom: 1px solid #ddd; width: 179px; }

#sidebar .sideNav li a {
	display: block;
	color: #646464;
	background-color: #f6f6f6 !important;
	text-decoration: none;
	height: 29px;
	line-height: 29px;
	padding: 0 19px;
	width: 141px;
}

#sidebar .sideNav li a:hover { background-color: #fdfcf6 !important; }

#sidebar .sideNav li a.active, #sidebar .sideNav li a.active:hover {
	background-color: #f0f7fa !important;
	color: #c66653;
}

/* Breadcrumb ---------------------------------------- */

h2 {
	width: 718px;
	float: right;
	color: #646464;
	font-size: 16px;
	line-height: 16px;
	font-weight: bold;
	margin: 20px 0 0 0;
	padding: 0 0 10px 0;
	border-bottom: 1px solid #ddd;
}

h2 a {
	color: #646464;
	text-decoration: none;
}

h2 a.active { color: #c66653; }

h2 a:hover { text-decoration: underline; }

/* Content ---------------------------------------- */

#main {
	width: 700px;
	float: right;
	padding: 0 19px 1em 0;
}

h3 {
	font-size: 14px;
	line-height: 14px;
	font-weight: bold;
	color: #5494af;
	padding: 0 0 0 10px;
	margin: 20px 0 20px 0;
}
h4 {
	font-size: 13px;
	margin: 20px 0 10px 0;
}

#main { margin: 0 0 30px 0; }

#main p { margin: 10px 0 14px 10px; }

#main form { margin:20px 0 0 0; }

#main form p { margin:15px 0 0 10px; }

#main form input { margin: 0; }

#main input[type=checkbox], #main input[type=radio] {
	vertical-align: middle;
	margin: 1px;
}

#main .text-long {
	border: 1px solid #ddd;
	background: #fff url(images/input-shaddow.gif) no-repeat left top;
	font: 11px Arial, Helvetica, sans-serif;
	color: #646464;
	padding: 5px 7px;
	width: 264px;
	float: left;
	margin: 0 10px 0 0;
}

#main .text-medium {
	border: 1px solid #ddd;
	background: #fff url(images/input-shaddow.gif) no-repeat left top;
	font: 11px Arial, Helvetica, sans-serif;
	color: #646464;
	padding: 5px 7px;
	width: 124px;
	float: left;
	margin: 0 10px 0 0;
}

#main .text-small {
	border: 1px solid #ddd;
	background: #fff url(images/input-shaddow.gif) no-repeat left top;
	font: 11px Arial, Helvetica, sans-serif;
	color: #646464;
	padding: 5px 7px;
	width: 44px;
	float: left;
	margin: 0 10px 0 0;
}

#main .text-long:focus,
#main .text-medium:focus,
#main .text-small:focus,
#main textarea.original:focus { background: #fdfcf6 url(images/input-shaddow-hover.gif) no-repeat left top; }

#main textarea.original {
	border: 1px solid #ddd;
	background: #fff url(images/input-shaddow.gif) no-repeat left top;
	font: 11px Arial, Helvetica, sans-serif;
	color: #646464;
	padding: 5px 7px;
	width: 364px;
	float: left;
	margin: 0 10px 0 0;
	height: 148px;
	overflow: hidden;
}

#main p {
	margin:10px;
}

#main a {
	color: #696969;
}

#main a:hover {
	color: #323232;
}


/* Tableaux de statistique -------------------------------------------------- */

table.stats {
	border-collapse: collapse;
	width: 100%;
	margin: 10px 0;
}
table.stats td, table.stats th {
	border: 1px solid #aaa;
	padding: 3px 6px;
}
table.stats td.numeric {
	text-align: center;
}
div.stats {
	width: 100%;
	height: 300px;
	margin-bottom: 10px;
}

/* Formulaires -------------------------------------------------------------- */

.button-submit {
	font: 11px Arial, Helvetica, sans-serif;
	color: #646464;
	width: 94px;
	height: 29px;
	cursor: pointer;
	border: none;
	background: url(images/button-submit.gif) no-repeat left top;
}
.button-submit:hover {
	color:#c66653;
}
form.form-content {
	padding: 1em;
	border: 1px solid #ddd;
	margin: 1em 0;
}
form table td {
	padding: 3px 5px;
	vertical-align: top;
}
form fieldset {
	border: 1px solid silver;
	border-radius: 5px;
	-moz-border-radius: 5px;
	padding: 5px 10px 10px 10px;
	margin-bottom: 15px;
}
form fieldset legend {
	padding: 0 5px;
	font-size: 13px;
	font-weight: bold;
}

/* Footer ------------------------------------------------------------------- */

#footer {
	margin: 10px 0 30px 0;
	font-size: 11px;
	line-height: 11px;
	color: #9B9B9B;
	padding: 0 0 0 5px;
}
#footer a { color: #9B9B9B; }
#footer a:hover { text-decoration: none; }

/* Details tables  ---------------------------------------------------------- */

table.details {
	font-size: 11px !important;
	width: 100%;
	border-collapse: collapse;
}
table.details tr:hover td {
	background-color: #fff9db;
}
table.details td, table.details th {
	padding: 4px 6px;
	vertical-align: top;
}
table.details th {
	background-color: #eee;
}
table.details td:first-child {
	font-weight: bold;
	width: 200px;
}
table.details td.separator {
	padding: 0;
	border-bottom: 1px dashed #ccc;
}
table.details a {
	color: #9B9B9B;
}
table.details a:hover {
	color: #505050;
}

/* Galerie photo ------------------------------------------------------------ */

div.picture-item {
	float: left;
	margin-right: 10px;
}
div.picture-thumb {
	float: left;
}
div.picture-thumb a {
	width: 120px;
	height: 120px;
	padding: 5px;
	border-radius: 5px 0 5px 5px;
	-moz-border-radius: 5px 0 5px 5px;
	border: 1px solid silver;
	text-align: center;
	display: block;
}
div.picture-thumb a:hover {
	background-color: #FFF3BC;
	border-color: #FFCB3D;
}
div.picture-info {
	text-align: center;
	margin: 5px 0;
	font-size: 10px;
	color: #808080;
	visibility: hidden;
	width: 131px;
	height: 26px;
}
div.picture-item:hover div.picture-info {
	visibility: visible;
}
div.picture-actions {
	margin-left: 131px;
	border: 1px solid silver;
	border-radius: 0 5px 5px 0;
	-moz-border-radius: 0 5px 5px 0;
}
div.picture-actions a {
	display: block;
	padding: 2px;
}

/* Ajouts persos --------------------------------- */

.right { float:right; }

.action { min-width:80px; }

.decal { margin:10px auto 10px auto; }

.decalhaut { margin-top:5px; }

.decalbas { margin-bottom:5px; }

.decalhautdouble { margin:20px 0 10px 0; }
.alignleft { text-align:left; }

a.bouton {
	display:block;
	margin-top:20px;
	padding:5px 10px;
	color:#666;
	background-color:#F2F2F2;
	border:1px solid #999;
	text-decoration:none;
}

a.bouton:hover {	color:#F90; }

a.lien { text-decoration:none; color:#5494AF; }

a.lien:hover { color:red; }

span#connected_user { display:block; text-align:right; margin:auto auto 5px 50%; margin-top:-25px; }

div.ajax { margin:5px auto; }
div.ajax p { text-align:center; }
div.ajax img { display:block; margin:10px auto; }
div.ajax span { margin: 10px 0 10px 10px; }

/* jquery -------------- */
div#menus_gestion ul#all { margin:40px 0 40px 5px; }
div#menus_gestion ul#all li.bloc { margin:30px 0 5px 5px; }
div#menus_gestion ul#all li.bloc img.arrow { margin:0 0 -5px 0; }
div#menus_gestion ul#all li span.menu_section_name { margin:0 0 0 20px; }
div#menus_gestion ul#all li ul { margin:5px 0 0 0; }
.sortable { list-style-type: none; margin: 0; padding: 0; width: 40%; }
.sortable li { margin: 0 3px 3px 3px; padding: 0.4em; padding-left: 1.5em; font-size: 1.4em; height: 18px; }
.sortable li span { position: absolute; margin-left: -1.3em; }
.sortable li span.menu_name { margin-left:0; }
.sortable li { position:relative; }
.sortable li span.loading { position:absolute; right:10px; }

#admin_add label, #admin_add input, #agenda_add label, #agenda_add input  { display:block; }
#admin_add label, #agenda_add label { text-align:left !important; }
#admin_add input.text, #agenda_add input.text  { margin-bottom:12px; width:95%; padding: .4em; }
#admin_add fieldset, #agenda_add fieldset  { padding:0; border:0; margin-top:25px; }
.ui-dialog .ui-state-highlight, .ui-dialog .ui-state-error { padding:.3em;  }

img.edit_status, img.edit_param { cursor:pointer; }
/* end jquery -------------- */

div#menus_ajouter { min-height:300px; }
div#menus_ajouter select { min-width:120px; }
div#menus_ajouter input[type=submit] { margin:20px 0 0 0; }

div#bloc, div#menu {
	margin:15px 0 0 10px;
	padding:5px 0 20px 0;
}

div#icons_list { margin:15px 7px; }
div#icons_list img { margin:5px; }

div#menus_suppression table.table-contain tr:hover td { background-color:white !important; }

div#club_agenda p.entry:hover span {
	cursor:pointer;
	background:url('../images/icons/delete.png') no-repeat
}
div#club_agenda p.entry:hover {
	background:#FFF3BC;
	cursor:default;
}

span.confirm-box {
	position: absolute;
	width: 100px;
	text-align: center;
	background: white;
	padding: 5px;
	border-radius: 5px;
	border: 1px solid gray;
}
